<!--
 *this file is part of nseer erp
 *Copyright (C)2006-2010 Nseer(Beijing) Technology co.LTD/http://www.nseer.com 
 *
 *This program is free software; you can redistribute it and/or
 *modify it under the terms of the GNU General Public License
 *as published by the Free Software Foundation; either
 *version 2 of the License, or (at your option) any later version.
 -->
<%@page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*,include.nseer_cookie.*" import="java.util.*" import="java.io.*" %>
<html>
<jsp:useBean id="demo" class="include.tree_index.businessComment" scope="page"/>
<%
demo.setPath(request);
String language=request.getParameter("language");
if(language==null) language="chinese";
session.setAttribute("language",language);
%>
<%@include file="head.jsp"%>
<link rel="stylesheet" type="text/css" href="../javascript/ajax/niceforms-default.css" />
<script type="text/javascript" src="../javascript/include/div/divcolor.js"></script>
<script type="text/javascript" src="../javascript/ajax/niceforms.js"></script>
<TABLE width="80%" height="90%" border=0 cellPadding=0 cellSpacing=0 align="center" bgcolor="#F3F6F7" class="example" id="example1">
<script>
setGradient('example1','#A5E3FF','#ffffff',0);
</script>
<TBODY>
<TR>
<TD width="1%" height="1%"><IMG src="../images/bg_0ltop.gif" ></TD>
<TD width="100%" background="../images/bg_01.gif"></TD>
<TD width="1%" height="1%"><IMG src="../images/bg_0rtop.gif"></TD>
</TR>
<TR>
<TD background="../images/bg_03.gif"></TD>
<TD>
<table <%=TABLE_STYLE2%> class="TABLE_STYLE2" cellpadding="2" width="650" height="10">
<tr <%=TR_STYLE1%> class="TR_STYLE1">
<td <%=TD_STYLE3%> class="TD_STYLE3" height="80"></td>
</tr>
</table>
<table <%=TABLE_STYLE2%> class="TABLE_STYLE2" width="650" cellpadding="2">
<tr <%=TR_STYLE1%> class="TR_STYLE1">
<td <%=TD_STYLE3%> class="TD_STYLE3" <%=TD_STYLE3%> class="TD_STYLE3"><p align="center"><b><font color="#800000" size="3"><%=demo.getLang("erp","恩信科技ERP软件修改用户密码")%></b></td>
</tr>
</table>
<table <%=TABLE_STYLE2%> class="TABLE_STYLE2" cellpadding="2" width="650" height="10">
<tr <%=TR_STYLE1%> class="TR_STYLE1">
<td <%=TD_STYLE3%> class="TD_STYLE3" height="5"></td>
</tr>
</table>
<script language="javascript" src="../javascript/input_control/Check.js"></script>
<script language="javascript">
var count=0;
function CheckForm(TheForm){
trimform(TheForm);
if(count>0){
return false;
}
count++;
if (TheForm.name.value==""){
alert("<%=demo.getLang("erp","请填写您的用户名！")%>");
TheForm.name.focus();
count=count-1;
return(false);
}
if (TheForm.pwd.value==""){
alert("<%=demo.getLang("erp","新密码不能为空！")%>");
TheForm.pwd.focus();
count=count-1;
return(false);
}
if (TheForm.pwd.value !=TheForm.passwd.value){
alert("<%=demo.getLang("erp","请正确填写您的新密码！")%>");
TheForm.pwd.focus();
count=count-1;
return(false);
}
return(true);
}
</script>
<form method="POST" action="change_passwd_ok.jsp?language=<%=language%>" onSubmit="return CheckForm(this)">
<table <%=TABLE_STYLE1%> class="TABLE_STYLE1" style="width:65%" align="center">
<tr <%=TR_STYLE1%> class="TR_STYLE1">
<td <%=TD_STYLE11%> class="TD_STYLE1" width="25%"><%=demo.getLang("erp","用户名")%></td>
<td <%=TD_STYLE21%> class="TD_STYLE2" width="75%"><input type="text" <%=INPUT_STYLE1%> class="INPUT_STYLE1" name="name" style="width:31%"></td>
<tr <%=TR_STYLE1%> class="TR_STYLE1">
<td <%=TD_STYLE11%> class="TD_STYLE1" width="25%"><%=demo.getLang("erp","原密码")%></td>
<td <%=TD_STYLE21%> class="TD_STYLE2" width="75%"><input type="password" name="oldpwd" style="width:31%;background-color: #ffffff"></td>
</tr>
<tr <%=TR_STYLE1%> class="TR_STYLE1">
<td <%=TD_STYLE11%> class="TD_STYLE1" width="25%"><%=demo.getLang("erp","新密码")%></td>
<td <%=TD_STYLE21%> class="TD_STYLE2" width="75%"><input type="password" name="pwd" style="width:31%;background-color: #ffffff"></td>
</tr>
<tr <%=TR_STYLE1%> class="TR_STYLE1">
<td <%=TD_STYLE11%> class="TD_STYLE1" width="25%"><%=demo.getLang("erp","确认新密码")%></td>
<td <%=TD_STYLE21%> class="TD_STYLE2" width="75%"><input type="password" name="passwd" style="width:31%;background-color: #ffffff"></td>
</tr>
</table>
<table <%=TABLE_STYLE2%> class="TABLE_STYLE2" width="650" height="10">
<tr <%=TR_STYLE1%> class="TR_STYLE1">
<td <%=TD_STYLE3%> class="TD_STYLE3" height="20"></td>
</tr>
</table>
<table <%=TABLE_STYLE2%> class="TABLE_STYLE2" cellpadding="2" width="650" height="10">
<tr <%=TR_STYLE1%> class="TR_STYLE1">
<td <%=TD_STYLE3%> class="TD_STYLE3"><p align="center"><input type="submit" <%=SUBMIT_STYLE1%> class="SUBMIT_STYLE1" value="<%=demo.getLang("erp","确认")%>" name="B1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="button" <%=BUTTON_STYLE1%> class="BUTTON_STYLE1" value="<%=demo.getLang("erp","返回")%>" onClick=location="login.jsp"></td> 
</tr>
</table> 
</form>
<table <%=TABLE_STYLE2%> class="TABLE_STYLE2" width="650" height="10">
<tr>
<td <%=TD_STYLE3%> class="TD_STYLE3" height="200"></td>
</tr>
</table>
<table <%=TABLE_STYLE2%> class="TABLE_STYLE2" width="80%" height="83">
<tr>
<td <%=TD_STYLE3%> class="TD_STYLE3" height="79" align="center"><%=demo.getLang("erp","北京恩信创业科技有限公司版权所有 All Rights Reserved.")%>
</td>
</tr>
</table> 
<%@include file="foot.htm"%>
<TD background="../images/bg_04.gif"></TD>
</tr>
<tr>
<td width="1%" height="1%"><IMG src="../images/bg_0lbottom.gif" ></TD>
<td background="../images/bg_02.gif"></TD>
<td width="1%" height="1%"><IMG src="../images/bg_0rbottom.gif"></TD>
</tr>
</TBODY>
</TABLE>